<!-- 数据主体 -->
<?php if(!isset($_GET['selected'])){?>
<div class="DataList">
<?php }?>
<volist name="list" id="vo">
<?php if(!isset($_GET['selected'])){?>
  <div class="SelectDataListItem item{$vo.id} widget-container fluid-height" style="margin-top:4px;">
    <div class="heading"><i class="fa icon-check-circle"></i><i class="fa icon-circle-o"></i>{$vo.name}</div>
    <div class="DataBox hidden">
<?php }?>
    <!-- 选中的数据主体 -->
    <div class="form-box">
        <input type="hidden" name="id<?php if(count($list) > 1 && isset($_GET['selected'])){echo '[]';}?>" value="{$vo.id}">
        <input name="name<?php if(count($list) > 1  && isset($_GET['selected'])){echo '[]';}?>" type="hidden" value="{$vo.name}">
        
        <?php $task_id=isset($_GET['id'])?$_GET['id']:''; ?>
        
        <span class="text-muted">{$vo.name}</span>
        
		<a class="pull-right hidden" href="javascript:void(0)" onclick="_openWindow('{:U('Taskform/getform',['id'=>$vo['id'],'task_id'=>$task_id])}', 500, '{$vo.name}', '确认', null, '');">填写表格</a>
    </div>
    <!-- 选中的数据主体结束 -->
<?php if(!isset($_GET['selected'])){?>
    </div>
  </div>
<?php }?>
  <!-- 数据主体结束 -->
</volist>

<?php if(!isset($_GET['selected'])){?>
</div>
<div class="PagesBox"><?php echo $pages;?></div>
<?php }?> 